package VO;

import java.util.ArrayList;
import Promotion.*;

public class ExCouponsForUserVO {
	private ArrayList<ExchangecouponsVO>  ExcouponsForUserlist=new ArrayList<ExchangecouponsVO>() ;
	private ArrayList<Integer> numList=new ArrayList<Integer>();
	
	
	public ExCouponsForUserVO(ExCouponsForUser ex){
		numList=ex.getNumList();
		ExcouponsForUserlist=new ArrayList<ExchangecouponsVO>();
		for(int i=0;i<ex.getExcouponsForUserlist().size();i++)
			ExcouponsForUserlist.add(new ExchangecouponsVO(ex.getExcouponsForUserlist().get(i)));
	}
	
	public ExCouponsForUserVO() {}

	//getter,setter
	public ArrayList<ExchangecouponsVO> getExcouponsForUserlist() {
		return ExcouponsForUserlist;
	}
	public ArrayList<Integer> getNumList() {
		return numList;
	}
	
}
